AntFile[ForwardMacroDef.ant]
  AntProject[project]
    AntTarget:[main]
      AntElement[PsiElement(XML_ATTRIBUTE_VALUE)]('main')
    AntTask[mytask]
      AntStructuredElement[antcall]('<antcall/>')
    AntMacroDef[mytask]
      AntElement[PsiElement(XML_ATTRIBUTE_VALUE)]('mytask')
      AntStructuredElement[attribute]
        AntElement[PsiElement(XML_ATTRIBUTE_VALUE)]('attr1')
      AntStructuredElement[attribute]
        AntElement[PsiElement(XML_ATTRIBUTE_VALUE)]('attr2')
      AntStructuredElement[element]
        AntElement[PsiElement(XML_ATTRIBUTE_VALUE)]('antcall')
      AntAllTasksContainer[sequential]
        AntTask[echo]('<echo message="attr1=@{attr2}">attr1=@{attr1}</echo>')